[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
RESTSCRN
Function
Restore the screen from the buffer previously saved with SAVESCRN.
Syntax
RESTSCRN No arguments are required
Remark
PCBoard will save and restore the screen before and after certain
functions, such as SysOp chat. This allows the user to continue right
where he left off without having to remember what was on the screen
before being interrupted. You can add that same functionality with
SAVESCRN and RESTSCRN. SAVESCRN allocates memory for a buffer in which
to save the screen. If SAVESCRN isn't followed by RESTSCRN then that
memory will never be deallocated. Finally, this statement will work
regardless of ANSI availability; the screen is only saved up to the
position of the cursor and this statement assumes that it can safely
restore the screen using standard teletype conventions to just scroll
the data onto the display.
Examples
SAVESCRN
CLS
PRINTLN "We interrupt your regular BBS session"
PRINTLN "with this important message:"
NEWLINE
PRINTLN "A subscription to this system only costs $5!"
PRINTLN "Subscribe today!"
NEWLINES 2
WAIT
RESTSCRN
See Also:
SAVESCRN
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson